package com.zhouyou.http.model.request;

import com.zhouyou.http.request.PostRequest;
import io.reactivex.rxjava3.core.Observable;
import org.junit.Test;

import java.lang.reflect.Type;

import static org.junit.Assert.*;

public class PostRequestTest {
    @Test
    public void execute() {
        PostRequest request = new PostRequest("http://www.baidu.com");
        Observable observable = request.execute(new Type() {
        });
        assertTrue("observable  is not null? ==", observable != null);

    }

}